package com.bsoft.gol.editor.service;

import com.bsoft.gol.editor.editor.base.EditorFormQr;
import com.bsoft.gol.editor.editor.qo.AddEditorFormQrQo;
import com.bsoft.gol.editor.editor.qo.QueryEditorFormQrQo;
import com.bsoft.gol.editor.editor.qo.RemoveEditorFormQrQo;
import hcn.util.BaseResponse;
import org.atag.dao.model.PageInfo;

import java.util.List;

/**
 * @program: Myproject
 * @description: 表单二维码
 * @author: zangsf
 * @create: 2022-12-17 13:21
 **/
public interface EditorFormQrApi {

    /* *
     * @description :查询表单列表
     * @author      :zangsf
     * @date        :2022-12-17 14:06
     * @param       :[qo]
     * @return      :hcn.util.BaseResponse<org.atag.dao.model.PageInfo<com.bsoft.gol.editor.editor.base.EditorFormQr>>
     */
    BaseResponse<PageInfo<EditorFormQr>> list(QueryEditorFormQrQo qo);

    /* *
     * @description :删除表单
     * @author      :zangsf
     * @date        :2022-12-17 14:07
     * @param       :[qo]
     * @return      :hcn.util.BaseResponse
     */
    BaseResponse remove(RemoveEditorFormQrQo qo);

    /* *
     * @description :更新表单二维码
     * @author      :zangsf
     * @date        :2022-12-17 14:13
     * @param       :[qo]
     * @return      :hcn.util.BaseResponse
     */
    BaseResponse update(EditorFormQr qo);

    /* *
     * @description :添加表单二维码
     * @author      :zangsf
     * @date        :2022-12-17 14:21
     * @param       :[qo]
     * @return      :hcn.util.BaseResponse
     */
    BaseResponse add(List<AddEditorFormQrQo> qos);

    /* *
     * @description :导出二维码
     * @author      :zangsf
     * @date        :2022-12-17 15:26
     * @param       :[qos]
     * @return      :hcn.util.BaseResponse
     */
    List<String> export(RemoveEditorFormQrQo qos);
}
